package com.xmy.erp.entity;

import java.io.Serializable;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@ApiModel(value = "Company对象", description = "")
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    @ApiModelProperty("简称")
    private String abbreviation;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("logo")
    private String logo;

    @ApiModelProperty("登陆页logo")
    private String loginLogo;

    @ApiModelProperty("登陆页背景")
    private String loginBack;

    @ApiModelProperty("当前使用的年份，0为系统当前日期年份")
    private LocalDate enrollYear;

    @ApiModelProperty("是否启用报读年份")
    private Integer isUseEnrollYear;

    @ApiModelProperty("是否启动新老生")
    private Integer isUseNewOld;

    private Integer isMaintain;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }
    public String getLoginLogo() {
        return loginLogo;
    }

    public void setLoginLogo(String loginLogo) {
        this.loginLogo = loginLogo;
    }
    public String getLoginBack() {
        return loginBack;
    }

    public void setLoginBack(String loginBack) {
        this.loginBack = loginBack;
    }
    public LocalDate getEnrollYear() {
        return enrollYear;
    }

    public void setEnrollYear(LocalDate enrollYear) {
        this.enrollYear = enrollYear;
    }
    public Integer getIsUseEnrollYear() {
        return isUseEnrollYear;
    }

    public void setIsUseEnrollYear(Integer isUseEnrollYear) {
        this.isUseEnrollYear = isUseEnrollYear;
    }
    public Integer getIsUseNewOld() {
        return isUseNewOld;
    }

    public void setIsUseNewOld(Integer isUseNewOld) {
        this.isUseNewOld = isUseNewOld;
    }
    public Integer getIsMaintain() {
        return isMaintain;
    }

    public void setIsMaintain(Integer isMaintain) {
        this.isMaintain = isMaintain;
    }

    @Override
    public String toString() {
        return "Company{" +
            "id=" + id +
            ", name=" + name +
            ", abbreviation=" + abbreviation +
            ", phone=" + phone +
            ", logo=" + logo +
            ", loginLogo=" + loginLogo +
            ", loginBack=" + loginBack +
            ", enrollYear=" + enrollYear +
            ", isUseEnrollYear=" + isUseEnrollYear +
            ", isUseNewOld=" + isUseNewOld +
            ", isMaintain=" + isMaintain +
        "}";
    }
}
